package com.salmon.security.core.properties;

import com.salmon.security.core.validate.code.SecurityConstants;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BrowserProperties {
	
	private SessionProperties session = new SessionProperties();

	/**
	 * 注册地址，用户社交登录时候，当QQ或者微信等社交登录成功后跳转到自定义的注册页进行用户信息的完善
	 * 此配置来处理社交登录成功的回调地址
	 */
	private String signUpUrl = "/salmon-signUp.html";

	/**
	 * 登录地址
	 */
	private String loginPage = SecurityConstants.DEFAULT_LOGIN_PAGE_URL;
	/**
	 * 注销地址
	 */
	private String signOutUrl = "/logout";
	
	private LoginResponseType loginType = LoginResponseType.JSON;
	
	private int rememberMeSeconds = 3600;

	
}
